<template>
    <div class="row item-center" style="margin-top:10px">
        <span style="width: 60px;">状态：</span>
        <span>{{ (target && target.isOn)? '开': '关'}}</span>
    </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { AppModel } from '../../../../model/AppModel';
import { BeSwitch } from '../../../../model/parts/BeSwitch';

const props = defineProps<{
    model: AppModel ,
    target: BeSwitch ,
}>()

</script>